<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="../js/basic.js"></script>
</head>

<body>
   <form action="" id="form1">
        <input type="checkbox" id="all" value="全选" onclick="getCheckboxVal()">全选 <br>
        <input type="checkbox" name="hib" value="A">音乐 <br>
        <input type="checkbox" name="hib" value="B">旅游 <br>
        <input type="checkbox" name="hib" value="C">学习 <br>
   </form>

</body>
</html>